//
//  TabbedPages.m
//  DevIPad
//
//  Created by HuCongshi on 15/11/14.
//  Copyright © 2015年 HuCongshi. All rights reserved.
//

#import "TabbedPages.h"
#import "MyTabBar.h"
#import "MyNavigationController.h"
#import "ResourceViewController.h"
@interface TabbedPages ()

@end

@implementation TabbedPages

- (void)viewDidLoad {
    [super viewDidLoad];
    for (int index = 0; index < 5; index++) {
        UITabBarItem *item = [self.tabBar.items objectAtIndex:index];
        [item setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIFont systemFontOfSize:20], NSFontAttributeName, nil] forState:UIControlStateNormal];
    }
    
//    CGRect rx = [UIScreen mainScreen].bounds;
//    MyTabBar *tb = [[MyTabBar alloc] initWithFrame:CGRectMake(0, rx.size.height-200, rx.size.width, 200)];
//    tb.backgroundColor = [UIColor whiteColor];
//    [self.view addSubview:tb];
    // Do any additional setup after loading the view.
}
- (void)initPages{
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
